
import uvicorn
from .app import application, LOG, start_init_app
from .config import pkgm_config
from .user_data import server_user_data


def run():
    start_init_app()
    uvicorn.run(application,
                host=pkgm_config.http_listen_address,
                port=pkgm_config.http_listen_port)
    LOG.info("close application")
